// Variables
@import "variables";
// Bootstrap
@import "~bootstrap-sass/assets/stylesheets/bootstrap";

$color: #333;
$background: #fff;
ul, li {
  list-style: none;
}

a {
  text-decoration: none;
  color: #555;
  &:hover {
    color: #000;
    text-decoration: none;
  }
}

.new-blog {
  background: $background;
  overflow: hidden;
  ul {
    padding: 10px;
    overflow: hidden;
    li {
      border-bottom: #ccc 1px solid;
      margin-bottom: 10px;
      overflow: hidden;
    }
    li:hover .line {
      width: 100%;
    }
  }
}

.lx-navbar {
  background: $color;
  border-bottom: none;
  .navbar-brand {
    color: $background;
  }

  .navbar-nav {
    li {
      a {
        color: $background;
        &:hover, &:focus {
          background: $color;
          color: #f65a8a;
        }
      }
      &.active {
        a {
          color: #f65a8a;
        }
      }
    }
  }
}

// 主要容器
.main {
  padding: 0 50px 50px;
  background: rgba(255, 255, 255, 0.5);
  margin: 50px auto auto auto;
  overflow: hidden;
}

// 尾部
footer {
  width: 100%;
  background: $color;
  color: #a5a4a4;
  text-align: center;
  padding: 20px 0;
}

footer a {
  color: #a5a4a4
}

.background {
  background: $background;
}

.home-title {
  padding: 0 10px;
  line-height: 40px;
  height: 40px;
  font-size: 18px;
  border-bottom: 1px solid #e5e5e5;
  border-left: 5px solid #333;
  color: #333;
}

/* 可以设置不同的进入和离开动画 */
/* 设置持续时间和动画函数 */
.slide-fade-enter-active {
  transition: all .3s ease;
}

.slide-fade-leave-active {
  transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter, .slide-fade-leave-to
  /* .slide-fade-leave-active for below version 2.1.8 */
{
  transform: translateX(10px);
  opacity: 0;
}

